from django.shortcuts import render
from .models import Question,Reply
from .serializers import *
from .paginators import MyPage
from rest_framework.generics import ListAPIView
from rest_framework.viewsets import ModelViewSet


class QuestionDetailView(ModelViewSet):
    queryset = Question.objects.all()
    serializer_class = QuestionSerializers
    pagination_class = MyPage






























